package com.tanhua.api.db;

import java.util.List;

/**
 * @author Richard Wang
 * @date 2021/9/5 15:21
 */
public interface SoulScoreApi {


    Boolean isNew(Long userId, Integer paperId);

    void insert(Long id, Integer pagerId, Integer score);

    void update(Long userId, Integer paperId, Integer score);

    List<Integer> findSimilarId(Integer score, Integer paperId);
}
